import request from "../utile"

// 非箭头函数
export function login(data) {
    return request({
        url: "/api/login",
        method: "post",
        data
    })
}


import request from '@/api/axios'  //自己封装的axios
import webapp from '@/config/webapp'//存放地址的地方

//箭头函数的引用类型
export const consultList = (data) => request({
    url: webapp.tagUrl + '/tagDefine/list',
    method: 'post',
    data: data
})



import * as file from './file'//自己封装的下载方法api
// 下载的api
export const downLoadAllFile = (params) =>
  file.downloadFile(vue_app_base_api + '/yw/position/downLoadAllFile', params)